using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class SubProject
    {
        protected int _id;
        protected string _name = String.Empty;
        protected string _memo = String.Empty;
        protected DateTime _startdate;
        protected DateTime _enddate;
        protected string _code = String.Empty;
        protected string _roadname = String.Empty;
        protected int _ownerid;
        protected int _supervisorid;
        protected int _workingid;
        protected int _managerid;
        protected int _lanes;
        protected string _period = String.Empty;
        protected double _investment;
        protected string _startstake = String.Empty;
        protected string _endstake = String.Empty;
        protected int _parentid;
        protected double _distance;
        protected double _rate;
        private string _cities;





        public string cities
        {
            get { return _cities; }
            set { _cities = value; }
        }
        private int _suflevel;

        public  int Suflevel
        {
            get { return _suflevel; }
            set { _suflevel = value; }
        }
        private int _teclevel;

        public  int Teclevel
        {
            get { return _teclevel; }
            set { _teclevel = value; }
        }
        protected int _terrain;

        public int Terrain
        {
            get { return _terrain; }
            set { _terrain = value; }
        }
        private int _roadStatus;

        public int RoadStatus
        {
            get { return _roadStatus; }
            set { _roadStatus = value; }
        }

        public SubProject()
        {
        }

        public SubProject(object id, object name, object pid)
        {
            _id = (int)id;
            _name = (string)name;
            _parentid = (int)parentid;
        }

     

        #region Public Properties
        public int Id
        {
            get { return _id; }
        }

        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string memo
        {
            get { return _memo; }
            set { _memo = value; }
        }

        public DateTime startdate
        {
            get { return _startdate; }
            set { _startdate = value; }
        }

        public DateTime enddate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        public string code
        {
            get { return _code; }
            set { _code = value; }
        }

        public string roadname
        {
            get { return _roadname; }
            set { _roadname = value; }
        }

        public int ownerid
        {
            get { return _ownerid; }
            set { _ownerid = value; }
        }

        public int supervisorid
        {
            get { return _supervisorid; }
            set { _supervisorid = value; }
        }

        public int workingid
        {
            get { return _workingid; }
            set { _workingid = value; }
        }

        public int managerid
        {
            get { return _managerid; }
            set { _managerid = value; }
        }

        public int lanes
        {
            get { return _lanes; }
            set { _lanes = value; }
        }

        public string period
        {
            get { return _period; }
            set { _period = value; }
        }

        public double investment
        {
            get { return _investment; }
            set { _investment = value; }
        }

        public string startstake
        {
            get { return _startstake; }
            set { _startstake = value; }
        }

        public string endstake
        {
            get { return _endstake; }
            set { _endstake = value; }
        }

        public int parentid
        {
            get { return _parentid; }
            set { _parentid = value; }
        }

        public double distance
        {
            get { return _distance; }
            set { _distance = value; }
        }

        public double rate
        {
            get { return _rate; }
            set { _rate = value; }
        }
        #endregion

 
    }
}
